<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;

/**
 * Created by PhpStorm.
 * 
 * User: wugang
 * Date: 2017/11/25
 * Time: 下午5:33
 *
 * @mixin \Eloquent
 * @property int $id
 * @property int $task_id 任务id
 * @property int $publisher_id 任务发布者uid
 * @property int $receiver_id 接收者uid
 * @property int $state 状态
 * 0：未领取
 * 1：已领取
 * @property int $amount 领取金额,单位分
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord wherePublisherId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereReceiverId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereTaskId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BonusRecord whereUpdatedAt($value)
 */
class BonusRecord extends Model
{

    protected $table = 'hackathon.bonus_record';


}